import javax.swing.JFrame;
import java.awt.Container;
import javax.swing.JPanel;
import java.awt.FlowLayout;

public class WindText extends JFrame
{
    
    public WindText(){
	super();

    }

    public void build(){

	setTitle("Horloge");
	setSize(320,240);
	setLocationRelativeTo(null);
	setResizable(false);
	setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);


    }


    private JPanel buildContentPane(){
	JPanel panel= new Panel();
	panel.setLayout(new FlowLayout());
	JLabel label= new JLabel("Quelle heure est-il ?");
	panel.add(label);
	return panel;
	}

}